package com.akl.ssmspringboot.utils;

import lombok.Data;

import java.util.List;
/**
 * @Author: Guoxy
 * @Date: Created in 9:55 2018/12/4
 */
@Data
public class PageResult<E> {
    /**
     * 当前页
     */
    private Integer currPage;
    /**
     * 一页显示的行数
     */
    private Integer pageSize;
    /**
     * 总条数
     */
    private Integer totalCount;
    /**
     * 查询结果 集合
     */
    private List<E> list;


    public PageResult(Integer currPage, Integer pageSize, Integer totalCount,
                      List<E> list) {
        super();
        this.currPage = currPage;
        this.pageSize = pageSize;
        this.totalCount = totalCount;
        this.list = list;
    }



}
